<div id=admin>
<h1>Editer mon exposition</h1>
<!-- Va écrire dans la BDD -->
<?php $expo = $query_user_exposition->row();?>
<?php echo form_open('expositions/confirm_changes','',array('owner_id' => $expo->owner_id, 'id'=> $expo->id, 'address_id' => $expo->address_id));?>
<label>Titre </label><?php echo form_input('title',$expo->title);?><br/><br/>
<label>Description </label><?php echo form_textarea(array('name'=>'description','value'=>$expo->description, 'rows' => '4','cols'=>'60'));?><br/><br/>
<label>Date de début (aaaa-mm-jj)</label><?php echo form_input('start_date',$expo->start_date);?><br/><br/>
<label>Date de fin</label><?php echo form_input('end_date',$expo->end_date);?><br/><br/>
<label>Adresse</label><?php echo form_input('address', $expo->address); ?><br/><br/>
<label>Lieu</label><?php echo form_input('place', $expo->place);?><br/><br/>
<label>Code postal</label><?php echo form_input('zip_code', $expo->zip_code);?><br/><br/>
<label>Ville</label><?php echo form_input('city', $expo->city);?><br/><br/>
<label>&nbsp;</label><?php echo form_submit('','Ok');?>

<?php echo form_close();?>
</div>
